package pers.cz.netty.client;

import io.netty.channel.ChannelFuture;
import pers.cz.netty.filter.IFilter;
import pers.cz.netty.listener.Listeneable;
import pers.cz.netty.protocal.Message;

/**
 * @program: JefLogTail
 * @description: netty客户端
 * @author: Cheng Zhi
 * @create: 2023-03-29 14:14
 **/
public interface NettyClient extends Listeneable {

    public void setFilter(IFilter filter);
    public ChannelFuture connect();
    public void shutDown();
    public boolean send(Message message);
}
